package hu.issue.framework.web.servlet;

import hu.issue.framework.web.controller.Controller;

import java.util.Map;

class ControllerRegistry {
	private final Map<String, Controller> controllers;

	public ControllerRegistry(final Map<String, Controller> controllers) {
		this.controllers = controllers;
	}

	public Controller getController(final String controllerName) {
		return this.controllers.get(controllerName);
	}

}
